{% extends "layouts/backoffice.html" %}
{% block title%}基金基本資料查詢{% endblock %}
{% block content%}  
<div class="nav">
  <h1>基金基本資料維護</h1>
  <div class="menuGroup">
    <span class="menuButton">
      <a class="button" href="javascript:window.location.href='/fundata/'">回到基金列表</a>
    </span>
    <span class="menuButton">
      <a class="button" href="javascript:window.location.href='/fundata/create/'">新增基金</a>
    </span>
  </div>
</div>
<div class="body">
  <div class="show">
    <div class="prop">
      <div class="name">基金名稱:</div>
      <div class="value">{{fund.name}}</div>
    </div>
    <div class="prop">
      <div class="name">交易類型:</div>
      <div class="value">{{fund.type}}</div>
    </div>    
    <div class="prop">
      <div class="name">開始投資日:</div>
      <div class="value">{{fund.startDate}}</div>
    </div>
    <div class="prop">
      <div class="name">手續費</div>
      <div class="value">{{fund.surcharge}}</div>
    </div>
    <div class="prop">
      <div class="name">停損點</div>
      <div class="value">{{fund.stopLoss}}</div>
    </div>
    <div class="prop">
      <div class="name">停利點</div>
      <div class="value">{{fund.stopProfit}}</div>
    </div>
    <div class="prop">
      <div class="name">幣別</div>
      <div class="value">{{fund.currency}}</div>
    </div>
    <div class="prop">
      <div class="name">匯率</div>
      <div class="value">{{fund.exchangeRate}}</div>
    </div>
   <div class="prop">
      <div class="name">金額</div>
      <div class="value">{{fund.amount}}</div>
    </div>
    <div class="prop">
      <div class="name">交易淨值</div>
      <div class="value">{{fund.buyNetValue}}</div>
    </div>
    <div class="prop">
      <div class="name">單位數</div>
      <div class="value">{{fund.buyCount}}</div>
    </div>
    <div class="prop">
      <div class="name">資料來源</div>
      <div class="value">{{fund.dataSourceUrl}}</div>
    </div>
     <div class="prop">
      <div class="name">備註</div>
      <div class="value">{{fund.comment}}</div>
    </div>
  </div>
  <form name="form1" method="post" action="/fundata/{{fund.key}}/edit/">
    <div class="buttons">
      <span class="button"><input type="submit" name="edit" value="修改" class="edit"/></span>
    </div>
  </form>
</div>

{% endblock %}